package com.boot.mall.order.vo;

import com.boot.mall.order.entity.OrderItemEntity;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

@Data
public class OrderListVo {

    private Long id;
    /**
     * member_id
     */
    private Long memberId;
    /**
     * 订单号
     */
    private String orderSn;
    /**
     * create_time
     */
    private Date createTime;

    /**
     * 收货人姓名
     */
    private String receiverName;
    /**
     * 应付总额
     */
    private BigDecimal payAmount;
    /**
     * 订单状态【0->待付款；1->待发货；2->已发货；3->已完成；4->已关闭；5->无效订单】
     */
    private Integer status;

    private List<OrderItemEntity> items;

}
